package com.youzan.open.sdk.gen.v3_0_0.model;

import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.youzan.open.sdk.model.APIParams;
import com.youzan.open.sdk.model.FileParams;
import com.youzan.open.sdk.model.APIResult;
import com.youzan.open.sdk.model.ByteWrapper;
import java.util.List;
import java.util.Map;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonProperty;

public class YouzanEbizStatsReferralLinksTrendsGetResult implements APIResult {

    @JsonProperty(value = "trends")
    /**
     * 跟踪链接数据
     */
    private ReferralTrend[] trends;

    public void setTrends(ReferralTrend[] trends) {
        this.trends = trends;
    }

    public ReferralTrend[] getTrends() {
        return this.trends;
    }

    public static class ReferralTrend {
            @JsonProperty(value = "date")
        /**
        * 日期，格式为："2017-06-22"
        */
        private String date;
            @JsonProperty(value = "uv")
        /**
        * 落地UV:筛选区间内该页面作为第一个被访问的页面的用户数
        */
        private Long uv;
            @JsonProperty(value = "payed_amount")
        /**
        * 转化成交额（分）: 筛选区间内用户访问落地页面后，2小时内在店铺中进行下单并且付款成功的成交金额
        */
        private Long payedAmount;
            @JsonProperty(value = "pv")
        /**
        * 落地PV:筛选区间内该页面作为第一个被访问的页面的浏览量
        */
        private Long pv;
            @JsonProperty(value = "payed_cnt")
        /**
        * 转化付款数: 筛选区间内用户访问落地页面后，2小时内在店铺中进行下单并且付款成功的订单数量
        */
        private Long payedCnt;
            @JsonProperty(value = "out_rate")
        /**
        * 页面跳出率: 筛选区间内用户访问落地页面后，没有任何点击访问就退出页面的比率
        */
        private Long outRate;
            @JsonProperty(value = "sec_pv")
        /**
        * 二跳PV: 筛选区间内用户访问落地页面后，在页面中发生点击行为进入更多店铺内页面的点击次数
        */
        private Long secPv;
            @JsonProperty(value = "buy_rate")
        /**
        * 购买转化率: 筛选区间内用户访问落地页面后，2小时内在店铺中进行下单并且付款成功的人数与访客数的比率。计算公式：付款人数 / 落地UV × 100%
        */
        private Long buyRate;
            @JsonProperty(value = "sec_uv")
        /**
        * 二跳UV: 筛选区间内用户访问落地页面后，在页面中发生点击行为进入更多店铺内页面的用户数
        */
        private Long secUv;
            @JsonProperty(value = "order_cnt")
        /**
        * 转化下单数: 筛选区间内用户访问落地页面后，2小时内在店铺中进行下单的数量
        */
        private Long orderCnt;
            @JsonProperty(value = "goods_payed_cnt")
        /**
        * 单品销量：筛选区间内，用户访问落地页面后，2小时内该页面商品被购买的销量（不包括其他连带销售商品的销量）
        */
        private Long goodsPayedCnt;
            @JsonProperty(value = "payed_user_cnt")
        /**
        * 转化付款人数：筛选区间内，用户访问落地页面后，2小时内在店铺中进行下单并且付款成功的用户数
        */
        private Long payedUserCnt;
            @JsonProperty(value = "goods_payed_amount")
        /**
        * 单品成交额: 筛选区间内，用户访问落地页面后，2小时内投放商品下单并且付款成功的成交金额（不包括其他连带销售商品的成交额）
        */
        private Long goodsPayedAmount;
            @JsonProperty(value = "source_name")
        /**
        * 来源名称
        */
        private Long sourceName;
    
            public void setDate(String date) {
            this.date = date;
        }

        public String getDate() {
            return this.date;
        }

            public void setUv(Long uv) {
            this.uv = uv;
        }

        public Long getUv() {
            return this.uv;
        }

            public void setPayedAmount(Long payedAmount) {
            this.payedAmount = payedAmount;
        }

        public Long getPayedAmount() {
            return this.payedAmount;
        }

            public void setPv(Long pv) {
            this.pv = pv;
        }

        public Long getPv() {
            return this.pv;
        }

            public void setPayedCnt(Long payedCnt) {
            this.payedCnt = payedCnt;
        }

        public Long getPayedCnt() {
            return this.payedCnt;
        }

            public void setOutRate(Long outRate) {
            this.outRate = outRate;
        }

        public Long getOutRate() {
            return this.outRate;
        }

            public void setSecPv(Long secPv) {
            this.secPv = secPv;
        }

        public Long getSecPv() {
            return this.secPv;
        }

            public void setBuyRate(Long buyRate) {
            this.buyRate = buyRate;
        }

        public Long getBuyRate() {
            return this.buyRate;
        }

            public void setSecUv(Long secUv) {
            this.secUv = secUv;
        }

        public Long getSecUv() {
            return this.secUv;
        }

            public void setOrderCnt(Long orderCnt) {
            this.orderCnt = orderCnt;
        }

        public Long getOrderCnt() {
            return this.orderCnt;
        }

            public void setGoodsPayedCnt(Long goodsPayedCnt) {
            this.goodsPayedCnt = goodsPayedCnt;
        }

        public Long getGoodsPayedCnt() {
            return this.goodsPayedCnt;
        }

            public void setPayedUserCnt(Long payedUserCnt) {
            this.payedUserCnt = payedUserCnt;
        }

        public Long getPayedUserCnt() {
            return this.payedUserCnt;
        }

            public void setGoodsPayedAmount(Long goodsPayedAmount) {
            this.goodsPayedAmount = goodsPayedAmount;
        }

        public Long getGoodsPayedAmount() {
            return this.goodsPayedAmount;
        }

            public void setSourceName(Long sourceName) {
            this.sourceName = sourceName;
        }

        public Long getSourceName() {
            return this.sourceName;
        }

        }


}